Part Number Hot Search : 
DDZ9713 02255 GM2310 AD834 B5NC90Z 1340A1 LVC1G SB5100
Product Description
Full Text Search
 

To Download CY8C20160-LDX2I Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
CapSense(R) ExpressTM Button Capacitive Controllers
Features

10/8/6/4 Capacitive Button Input Robust sensing algorithm High sensitivity, low noise Immunity to RF and AC noise Low radiated EMC noise Supports wide range of input capacitance, sensor shapes, and sizes Target Applications Printers Cellular handsets LCD monitors Portable DVD players Low Operating Current Active current: continuous sensor scan: 1.5 mA Deep sleep current: 4 uA Industry's Best Configurability Custom sensor tuning, one optional capacitor Output supports strong drive for LED 2 Output state can be controlled through I C or directly from (R) input state CapSense 2 Run time re-configurable over I C Advanced Features All GPIOs support LED dimming with configurable delay option in CY8C21110 Interrupt outputs User defined Inputs Wake on interrupt input Sleep control pin Nonvolatile storage of custom settings Easy integration into existing products - configure output to match system No external components required World class free configuration tool
Wide Range of Operating Voltages 2.4V to 2.9V 3.10V to 3.6V 4.75V to 5.25V I2C Communication Supported from 1.8V Internal pull up resistor support option Data rate up to 400 kbps 2 Configurable I C addressing Industrial temperature range: -40C to +85C. Available in16-pin COL, 8-pin, and 16-pin SOIC Packages

Overview
These CapSense ExpressTM controllers support 4 to 10 capacitive sensing (CapSense buttons). The device functionality is configured through an I2C port and can be stored in onboard nonvolatile memory for automatic loading at power on. The CY8C20110 is optimized for dimming LEDs in 15 selectable duty cycles for back light applications. The device can be configured to have up to 10 GPIOs connected to the PWM output. The PWM duty cycle is programmable for variable LED intensities. The four key blocks that make up these devices are: a robust capacitive sensing core with high immunity against radiated and conductive noise, control registers with nonvolatile storage, configurable outputs, and I2C communications. The user can configure registers with parameters needed to adjust the operation and sensitivity of the CapSense buttons and outputs and permanently store the settings. The standard I2C serial communication interface enables the host to configure the device and read sensor information in real time. The I2C address is fully configurable without any external hardware strapping.
Cypress Semiconductor Corporation Document Number: 001-54606 Rev. **
*
198 Champion Court
*
San Jose, CA 95134-1709
* 408-943-2600 Revised July 12, 2009
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Pinouts
Figure 1. Pin Diagram - 16 COL- CY8C20110 (10 Buttons)/CY8C20180 (8 Buttons) CY8C20160 (6 Buttons)/CY8C20140 (4 Buttons)
Table 1. Pin Definitions - 16 COL- CY8C20110 (10 Buttons)/CY8C20180 (8 Buttons) CY8C20160 (6 Buttons)/CY8C20140 (4 Buttons)[1] Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Pin Name GP0[0] GP0[1] I2C SCL I2C SDA GP1[0] GP1[1] VSS GP1[2] GP1[3] GP1[4] XRES GP0[2] VDD GP0[3] CSInt GP0[4] Description Configurable as CapSense or GPIO Configurable as CapSense or GPIO I2C Clock I2C Data Configurable as CapSense or GPIO Configurable as CapSense or GPIO Ground Connection Configurable as CapSense or GPIO Configurable as CapSense or GPIO Configurable as CapSense or GPIO Active high external reset with internal pull up Configurable as CapSense or GPIO Supply voltage Configurable as CapSense or GPIO Integrating Capacitor Input. The external capacitance is required only if 5:1 SNR cannot be achieved. Typical range is 1 nF to 4.7 nF Configurable as CapSense or GPIO
Note 1. 8/6/4 available configurable IOs can be configured to any of the 10 IOs of the package. After any of the 8/6/4 IOs are chosen, the remaining 2/4/6 IOs of the package are not available for any functionality.
Document Number: 001-54606 Rev. **
Page 2 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Figure 2. Pin Diagram - 16 SOIC- CY8C20110 (10 Buttons)/CY8C20180 (8 Buttons) CY8C20160 (6 Buttons)/CY8C20140 (4 Buttons)
Table 2. Pin Definitions - 16 SOIC- CY8C20110 (10 Buttons)/CY8C20180 (8 Buttons) CY8C20160 (6 Buttons)/CY8C20140 (4 Buttons)1] Pin No 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Name GP0[3] CSint GP0[4] GP0[0] GP0[1] I2C SCL I2C SDA GP1[0] GP1[1] VSS GP1[2] GP1[3] GP1[4] XRES GP0[2] VDD Description Configurable as CapSense or GPIO Integrating Capacitor Input. The external capacitance is required only if 5:1 SNR cannot be achieved. Typical range is 1 nF to 4.7 nF Configurable as CapSense or GPIO Configurable as CapSense or GPIO Configurable as CapSense or GPIO I2C Clock I2C Data Configurable as CapSense or GPIO Configurable as CapSense or GPIO Ground Connection Configurable as CapSense or GPIO Configurable as CapSense or GPIO Configurable as CapSense or GPIO Active high external reset with internal pull up Configurable as CapSense or GPIO Supply voltage
Document Number: 001-54606 Rev. **
Page 3 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Figure 3. Pin Diagram - 8-Pin SOIC- CY8C20142 (4 Button)
Table 3. Pin Definitions - 8-Pin SOIC - CY8C20142 (4 Button) Pin No 1 2 3 4 5 6 7 8 Name VSS I2C SCL I2C SDA GP1[0] GP1[1] GP0[0] GP0[1] VDD Ground I2C Clock I2C Data Configurable as CapSense or GPIO Configurable as CapSense or GPIO Configurable as CapSense or GPIO Configurable as CapSense or GPIO Supply voltage Description
Document Number: 001-54606 Rev. **
Page 4 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Typical Circuits
Circuit-1: Five Button and Five LED with I2C Interface
Circuit 2 - Two Buttons and Two LEDs with I2C Interface
Document Number: 001-54606 Rev. **
Page 5 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Circuit 3 - Compatibility with 1.8V I2C Signaling
Note 1.8V VDD_I2C VDD_CE and 2.4V VDD_CE 5.25V
Circuit 4 - Powering Down CapSense Express Device for Low Power Requirements
Output enable
LDO
Output
VDD
LED
I2C Pull UPs
Master Or Host
CapSense Express
SDA I2C BUS SCL
For low power requirements, if Vdd is to be turned off, this concept can be used. The requirement is that the Vdds of CapSense Express, I2C pull ups, and LEDs should be from the same source such that turning off the Vdd ensures that no signal is applied to the device while it is unpowered. The I2C signals should not be driven high by the master in this situation. If a port pin or group of port pins of the master can cater to the power supply requirements of the circuit, the LDO can be avoided.
Document Number: 001-54606 Rev. **
Page 6 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
I2C Interface
The CapSense Express devices support the industry standard I2C protocol, which can be used for:

Configuring the device Reading the status and data registers of the device Controlling device operation Executing commands
The I2C address can be modified during configuration.
I C Device Addressing
The device uses a seven bit addressing protocol. The I2C data transfer is always initiated by the master sending a one byte address: the first 7 bits contain the address and the LSB indicates the data transfer direction. Zero in the LSB bit indicates the write transaction from master and one indicates read transfer by the master. The following table shows examples for different I2C addresses. Table 4. I2C Address Examples 7 Bit Slave Address 1 1 75 75 D7 0 0 1 1 D6 0 0 0 0 D5 0 0 0 0 D4 0 0 1 1 D3 0 0 0 0 D2 0 0 1 1 D1 1 1 1 1 D0 0(W) 1(R) 0(W) 1(W) 8 Bit Slave Address 02 03 96 97
2
I2C Clock Stretching
`Clock stretching' or `bus stalling' in communication protocol is a state in which the slave holds the SCL line low to indicate that it is busy. In this condition, the master is expected to wait till the SCL is released by the slave. When an I2C master communicates with the CapSense Express device, the CapSense Express stalls the I2C bus after the reception of each byte (that is, just before the ACK/NAK bit) until processing of the byte is complete and critical internal functions are executed. Use a fully I2C compliant master to communicate with the CapSense Express device. I2C
If the I2C master does not support clock stretching (a bit banged software I2C Master), the master must wait for a specific amount of time (as specified in "Format for Register Write and Read" on page 8) for each register write and read operation before the next bit is transmitted. The I2C master must check the SCL status (it should be high) before the I2C master initiates any data transfer with CapSense Express. If the master fails to do so and continues to communicate, the communication is erroneous. The following diagrams represent the ACK time delays shown in "Format for Register Write and Read" on page 8 for write and read.
Document Number: 001-54606 Rev. **
Page 7 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Figure 4. Write ACK Time Representation[2]
Figure 5. Read ACK Time Representation[3]
Format for Register Write and Read
Register write format Start Slave Addr + W Register read format Start Slave Addr + W Start Slave Addr + R Legends: Master Slave A - ACK N- NAK A A A Reg Addr Reg Addr Data A A A Data Stop Data A Data A ..... Data A Stop
A
.....
Data
N
Stop
Notes 2. Time to process the received data 3. Time taken for the device to send next byte
Document Number: 001-54606 Rev. **
Page 8 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Operating Modes of I2C Commands
Normal Mode
In normal mode of operation, the acknowledgment time is optimized. The timings remain approximately the same for different configurations of the slave. To reduce the acknowledgment times in normal mode, the registers 0x06-0x09, 0x0C, 0x0D, 0x10-0x17, 0x50, 0x51, 0x57-0x60, 0x7E are given only read access. Write to these registers can be done only in setup mode.
Deep Sleep Mode
Deep sleep mode provides the lowest power consumption because there is no operation running. All CapSense scanning is disabled during this mode. In this mode, the device wakes up only using an external GPIO interrupt. A sleep timer interrupt cannot wake up a device from deep sleep mode. This is treated as a continuous sleep mode without periodic wakeups. Refer to the application note CapSense Express Power and Sleep Considerations - AN44209 for details on different sleep modes. To get the lowest power during this mode the sleep timer frequency should be set to 1 Hz.
Setup Mode
All registers have read and write access (except those which are read only) in this mode. The acknowledgment times are longer compared to normal mode. When CapSense scanning is disabled (command code 0x0A in command register 0xA0), the acknowledgment times can be improved to values similar to the normal mode of operation.
Sleep Control Pin
The devices require a dedicated sleep control pin to enable reliable I2C communication in case any sleep mode is enabled. This is achieved by pulling the sleep control pin low to wake up the device and start I2C communication. The sleep control pin can be configured on any GPIO.
Device Operation Modes
CapSense Express devices are configured to operate in any of the following three modes to meet different power consumption requirements:

Interrupt Pin to Master
To inform the master of any button press a GPIO can be configured as interrupt output and all CapSense buttons can be connected to this GPIO with an OR logic operator. This can be configured using the software tool.
Active Mode Periodic Sleep Mode Deep Sleep Mode
LED Dimming
To change the brightness and intensity of the LEDs, the host master (MCU, MPU, DSP, and so on) must send I2C commands and program the PWM registers to enable output pins, set duty cycle, and mode configuration. The single PWM source is connected to all GPIO pins and has a common user defined duty cycle. Each PWM enabled pin has two possible outputs: PWM and 0/1 (depending on the configuration). Four different modes of LED dimming are possible, as shown in "LED Dimming Mode 1: Change Intensity on ON/OFF Button Status" on page 10 to "LED Dimming Mode 4: Toggle Intensity on ON/OFF or OFF/ON Button Transitions" on page 11. The operation mode and duty cycle of the PWM enabled pins is common. This means that one pin cannot behave as in Mode1 and another pin as in Mode 2.
Active Mode
In the active mode, all the device blocks including the CapSense sub system are powered. Typical active current consumption of the device across the operating voltage range is 1.5 mA.
Periodic Sleep Mode
Sleep mode provides an intermediate power operation mode. It is enabled by configuring the corresponding device registers (0x7E, 0x7F). The device goes into sleep after there is no event for stay awake counter (Reg 0x80) number of sleep intervals. The device wakes up on sleep interval and It scans the capacitive sensors before going back to sleep again. If any sensor is active, then the device wakes up. The device can also wake up from sleep mode with a GPIO interrupt. The following sleep intervals are supported in CapSense Express. The sleep interval is configured through registers.

1.95 ms (512 Hz) 15.6 ms (64 Hz) 125 ms (8 Hz) 1s (1 Hz)
Document Number: 001-54606 Rev. **
Page 9 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
LED Dimming Mode 1: Change Intensity on ON/OFF Button Status
LED Dimming Mode 2: Flash Intensity on ON Button Status
Document Number: 001-54606 Rev. **
Page 10 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
LED Dimming Mode 3: Hold Intensity After ON/OFF Button Transition
LED Dimming Mode 4: Toggle Intensity on ON/OFF or OFF/ON Button Transitions
Note LED DIMMING is available only in CY8C20110.
Document Number: 001-54606 Rev. **
Page 11 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Register Map
Name Register Address (in Hex) Access Writable Only in SETUP Mode[4] Factory Default Values I2C Max ACK Time in I2C Max ACK Time of Registers Normal Mode (ms) in Setup Mode (ms) (in Hex)
INPUT_PORT0 INPUT_PORT1 STATUS_POR0 STATUS_POR1 OUTPUT_PORT0 OUTPUT_PORT1 CS_ENABL0 CS_ENABLE GPIO_ENABLE0 GPIO_ENABLE1 INVERSION_MASK0 INVERSION_MASK1 INT_MASK0 INT_MASK1 STATUS_HOLD_MSK0 STATUS_HOLD_MSK1 DM_PULL_UP0 DM_STRONG0 DM_HIGHZ0 DM_OD_LOW0 DM_PULL_UP1 DM_STRONG1 DM_HIGHZ1 DM_OD_LOW1 PWM_ENABLE0[8] PWM_ENABLE1[8] PWM_MODE_DC[8] PWM_DELAY[8] OP_SEL_00 OPR1_PRT0_00 OPR1_PRT1_00 OPR2_PRT0_00 OPR2_PRT1_00 OP_SEL_01 OPR1_PRT0_01 OPR1_PRT1_01 OPR2_PRT0_01 OPR2_PRT1_01 OP_SEL_02 OPR1_PRT0_02 OPR1_PRT1_02
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28
R R R R W W RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
YES YES YES YES
YES YES
YES YES YES YES YES YES YES YES
00 00 00 00 00 00 00 00 00 00 00 00 00 00 03/1F[5] 03/1F[5] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0.1 0.1 0.1 0.1 0.1 0.1 11 11 11 11 0.11 0.11 11 11 0.11 0.11 11 11 11 11 11 11 11 11 0.1 0.1 0.1 0.1 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12
11 11 11 11 11 11 11 11 11 11 11 11 11
Document Number: 001-54606 Rev. **
Page 12 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Register Map (continued)
Name Register Address (in Hex) Access Writable Only in SETUP Mode[4] Factory Default Values I2C Max ACK Time in I2C Max ACK Time of Registers Normal Mode (ms) in Setup Mode (ms) (in Hex)
OPR2_PRT0_02 OPR2_PRT1_02 OP_SEL_03 OPR1_PRT0_03 OPR1_PRT1_03 OPR2_PRT0_03 OPR2_PRT1_03 OP_SEL_04 OPR1_PRT0_04 OPR1_PRT1_04 OPR2_PRT0_04 OPR2_PRT1_04 OP_SEL_10 OPR1_PRT0_10 OPR1_PRT1_10 OPR2_PRT0_10 OPR2_PRT1_10 OP_SEL_11 OPR1_PRT0_11 OPR1_PRT1_11 OPR2_PRT0_11 OPR2_PRT1_11 OP_SEL_12 OPR1_PRT0_12 OPR1_PRT1_12 OPR2_PRT0_12 OPR2_PRT1_12 OP_SEL_13 OPR1_PRT0_13 OPR1_PRT1_13 OPR2_PRT0_13 OPR2_PRT1_13 OP_SEL_14 OPR1_PRT0_14 OPR1_PRT1_14 OPR2_PRT0_14 OPR2_PRT1_14 CS_NOISE_TH CS_BL_UPD_TH CS_SETL_TIME CS_OTH_SET CS_HYSTERISIS
29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52
RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
YES YES
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28 64 A0 00 0A
0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.11 0.11
0.11
11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 35 35 11
Document Number: 001-54606 Rev. **
Page 13 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Register Map (continued)
Name Register Address (in Hex) Access Writable Only in SETUP Mode[4] Factory Default Values I2C Max ACK Time in I2C Max ACK Time of Registers Normal Mode (ms) in Setup Mode (ms) (in Hex)
CS_DEBOUNCE CS_NEG_NOISE_TH CS_LOW_BL_RST CS_FILTERING CS_SCAN_POS_00 CS_SCAN_POS_01 CS_SCAN_POS_02 CS_SCAN_POS_03 CS_SCAN_POS_04 CS_SCAN_POS_10 CS_SCAN_POS_11 CS_SCAN_POS_12 CS_SCAN_POS_13 CS_SCAN_POS_14 CS_FINGER_TH_00 CS_FINGER_TH_01 CS_FINGER_TH_02 CS_FINGER_TH_03 CS_FINGER_TH_04 CS_FINGER_TH_10 CS_FINGER_TH_11 CS_FINGER_TH_12 CS_FINGER_TH_13 CS_FINGER_TH_14 CS_IDAC_00 CS_IDAC_01 CS_IDAC_02 CS_IDAC_03 CS_IDAC_04 CS_IDAC_10 CS_IDAC_11 CS_IDAC_12 CS_IDAC_13 CS_IDAC_14
I2C_ADDR_LOCK DEVICE_ID DEVICE_STATUS I2C_ADDR_DM
53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75[6] 76[6] 77[6] 78[6] 79 7A 7B 7C
RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
YES YES YES YES YES YES YES YES YES YES
03 14 14 20 FF FF FF FF FF FF FF FF FF FF 64 64 64 64 64 64 64 64 64 64 0A 0A 0A 0A 0A 0A 0A 0A 0A 0A
0.11 0.11 0.11 0.11
0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14 0.14
11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11
RW R R RW
01 42/40/60/80/10[7] 03 00
0.11 0.11 0.11 0.11
11 11 11 11
Document Number: 001-54606 Rev. **
Page 14 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Register Map (continued)
Name Register Address (in Hex) Access Writable Only in SETUP Mode[4] Factory Default Values I2C Max ACK Time in I2C Max ACK Time of Registers Normal Mode (ms) in Setup Mode (ms) (in Hex)
SLEEP_PIN SLEEP_CTRL SLEEP_SA_CNTR CS_READ_BUTTON CS_READ_BLM CS_READ_BLL CS_READ_DIFFM CS_READ_DIFFL CS_READ_RAWM CS_READ_RAWL CS_READ_STATUSM CS_READ_STATUSL
COMMAND_REG
7D[6] 7E 7F 80 81 82 83 84 85 86 87 88 89 8A[6] 8B[6] 8C[6] 8D[6] A0
RW RW RW RW R R R R R R R R
YES
00 00 00 00 00 00 00 00 00 00 00 00
0.1 0.1 0.1 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12 0.12
11 11 11 11 11 11 11 11 11 11 11 11
W
00
0.1
11
Table 5. Device IDs Part Number CY8C 20142 CY8C 20140 CY8C 20160 CY8C 20180 CY8C 20110 Device ID 42 40 60 80 10
Note All the Ack times specified are maximum values with all buttons enabled and filer enabled with maximum order.
Notes 4. These registers are writable only after entering into setup mode. All the other registers available for read and write in Normal as well as in Setup mode. 5. The factory defaults of Reg 0x0E and 0x0F is 0x03 for 20142 device and 0x1F for 20140/60/80/10 devices. 6. The register 0x75- 0x78, 0x7D and 0x8A-0x8D are reserved. 7. The Device ID for different devices are tabulated in Table 5. 8. These registers are available only in CY8C20110.
Document Number: 001-54606 Rev. **
Page 15 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
CapSense Express Commands
Command[9] W 00 A0 00 W 00 A0 01 W 00 A0 02 W 00 A0 03 W 00 A0 04 W 00 A0 05 W 00 A0 06 W 00 A0 07 W 00 A0 08 W 00 A0 09 W 00 A0 0A W 00 A0 0B Description Get firmware revision Store current configuration to NVM Restore factory configuration Write NVM POR defaults Read NVM POR defaults Read current configurations (RAM) Reconfigure device (POR) Set Normal mode of operation Set Setup mode of operation Start scan Stop scan Get CapSense scan status Executable Mode Setup/Normal Setup/Normal Setup/Normal Setup/Normal Setup/Normal Setup/Normal Setup Setup/Normal Setup/Normal Setup/Normal Setup/Normal Setup/Normal Duration the Device is not accessible after ACK (in ms) 0 120 120 120 5 5 5 0 0 10 5 0
Register Conventions
This table lists the register conventions that are specific to this section. Convention RW R Description Register has both read and write access Register has only read access
Note 9. The `W' indicates the write transfer. The next byte of data represents the 7 bit I2C address.
Document Number: 001-54606 Rev. **
Page 16 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Layout Guidelines and Best Practices
CapSense Button Shapes
Button Layout Design
X: Button to ground clearance (Refer to Table 6 on page 18) Y: Button to button clearance (Refer to Table 6 on page 18)
Recommended via Hole Placement
Document Number: 001-54606 Rev. **
Page 17 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Table 6. Recommended Layout Guidelines and Best Practices Sl 1 2 3 Category Button Shape Button Size Button-Button Spacing 5 mm = Button Ground Clearance 0.5 mm 2 mm 15 mm Min Max Recommendations/Remarks Solid round pattern, round with LED hole, rectangle with round corners 10 mm 8 mm [X]
4 5 6 7 8 9
Button Ground Clearance Ground Flood - Top Layer Ground Flood - Bottom Layer Trace Length from Sensor to PSoC - Buttons Trace Width Trace Routing
Button ground clearance = Overlay Thickness [Y] Hatched ground 7 mil trace and 45 mil grid (15% filling) Hatched ground 7 mil trace and 70 mil grid (10% filling)
200 mm 0.17 mm 0.20 mm
<100 mm. 0.17 mm (7 mil) Traces should be routed on the non sensor side. If any non CapSense trace crosses CapSense trace, ensure that intersection is orthogonal. Via should be placed near the edge of the button/slider to reduce trace length thereby increasing sensitivity. 10 mil
10 11 12 13
Via Position for the Sensors Via Hole Size for Sensor Traces Number of Vias on Sensor Trace CapSense Series Resistor Placement Distance between any CapSense Trace to Ground Flood Device Placement 10 mil 1 2 10 mm
1 Place CapSense series resistors close to PSoC for noise suppression.CapSense resistors have highest priority place them first. 20 mil
14
20 mil
15
Mount the device on the layer opposite to sensor. The CapSense trace length between the device and sensors should be minimum Top layer - sensor pads and bottom layer - PSoC, other components, and traces. Top layer - sensor pads, second layer - CapSense traces, third layer - hatched ground, bottom layer - PSoC, other components, and non CapSense traces 0 mm 2 mm 1 mm Should to be non conductive material. Glass, ABS Plastic, Formica Adhesive should be non conductive and dielectrically homogenous. 467MP and 468MP adhesives made by 3M are recommended. Cut a hole in the sensor pad and use rear mountable LEDs. Refer the PCB layout below. Standard board thickness for CapSense FR4 based designs is 1.6 mm.
16 17
Placement of Components in 2 Layer PCB Placement of Components in 4 Layer PCB Overlay Thickness - Buttons Overlay Material Overlay Adhesives
18 19 20
21 22
LED Back Lighting Board Thickness
Document Number: 001-54606 Rev. **
Page 18 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Example PCB Layout Design with Two CapSense Buttons and Two LEDs
Figure 6. Top Layer
Figure 7. Bottom Layer
Document Number: 001-54606 Rev. **
Page 19 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Operating Voltages
For details on I2C 1x ACK time, refer to "Register Map" on page 12 and "CapSense Express Commands" on page 16. I2C 4x ACK time is approximately four times the values mentioned in these tables.
CapSense Constraints
Parameter Parasitic Capacitance (CP) of the CapSense Sensor Overlay Thickness Supply Voltage Variation (VDD) 0 1 Min Typ Max 30 2 5% Units pF mm All layout best practices followed, properly tuned, and noise free condition. Notes
Document Number: 001-54606 Rev. **
Page 20 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Electrical Specifications
Absolute Maximum Ratings
Parameter TSTG Description Storage temperature Min -55 Typ 25 Max +100 Unit C Notes Higher storage temperatures reduce data retention time. Recommended storage temperature is +25C 25C (0C to 50C). Extended duration storage temperatures above 65C degrade reliability
TA VDD VIO VIOZ IMIO ESD LU
Ambient temperature with power applied Supply voltage on VDD relative to VSS DC input voltage DC voltage applied to tristate Maximum current into any GPIO pin Electro static discharge voltage Latch up current
-40 -0.5 VSS - 0.5 VSS - 0.5 -25 2000 -
- - - - - - -
+85 +6.0 VDD + 0.5 VDD + 0.5 +50 - 200
C V V V mA V mA Human body model ESD
Operating Temperature
Parameter TA TJ Description Ambient temperature Junction temperature Min -40 -40 Typ - - Max +85 +100 Unit C C Notes
DC Electrical Characteristics
DC Chip Level Specifications
Parameter VDD IDD ISB ISB ISB Description Supply voltage Supply current Deep Sleep mode current with POR and LVD active Deep Sleep mode current with POR and LVD active Deep Sleep mode current with POR and LVD active Min 2.40 - - - - Typ - 1.5 2.6 2.8 5.2 Max 5.25 2.5 4 5 6.4 Unit V mA A A A Conditions are VDD = 3.10V, TA = 25C VDD = 2.55V, 0C < TA < 40C VDD = 3.3V, -40C < TA < 85C VDD = 5.25V, -40C < TA < 85C Notes
5V and 3.3V DC General Purpose I/O Specifications
This table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C 3.10V, maximum of 20 mA source current in all I/Os. IOH = 1 mA, VDD > 3.10V, maximum of 20 mA source current in all I/Os. IOH < 10 A, VDD > 3.10V, maximum of 20 mA source current in all I/Os. IOH = 5 mA, VDD > 3.10V, maximum of 20 mA source current in all I/Os.
Document Number: 001-54606 Rev. **
Page 21 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
5V and 3.3V DC General Purpose I/O Specifications (continued)
This table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C 3.10, maximum of 40/60 mA sink current on even port pins and of 40/60 mA sink current on odd port pins.[10] VDD = 3.10V to 3.6V. VDD = 3.10V to 3.6V. VDD = 4.75V to 5.25V. VDD = 4.75V to 5.25V. Gross tested to 1 A. Package and pin dependent. Temp = 25C. Package and pin dependent. Temp = 25C.
VIL VIH VIL VIH VH IIL CIN COUT
Input low voltage Input high voltage Input low voltage Input high voltage Input hysteresis voltage Input leakage Capacitive load on pins as input Capacitive load on pins as output
- 1.6 - 2.0 - - 0.5 0.5
- - - - 140 1 1.7 1.7
0.75 - 0.8 - - - 5 5
V V V V mV nA pF pF
2.7 DC General Purpose IO Specifications
Parameter VOH1 VOH2 VOH3 VOH4 VOL1 Description High output voltage on Port 0 pins High output voltage on Port 0 pins High output voltage on Port 1 pins High output voltage on Port 1 pins Low output voltage Min VDD - 0.2 VDD - 0.5 VDD - 0.2 VDD - 0.5 - Typ - - - - - Max - - - - 0.75 Unit V V V V V Notes IOH <10 A, maximum of 10 mA source current in all IOs. IOH = 0.2 mA, maximum of 10 mA source current in all IOs. IOH <10 A, maximum of 10 mA source current in all IOs. IOH = 2 mA, maximum of 10 mA source current in all IOs. IOL = 10 mA/pin, VDD > 3.10, maximum of 20/30 mA sink current on even port pins and of 20/30mA sink current on odd port pins.[11] VDD = 2.4 to 2.90V and 3.10V to 3.6V. VDD = 2.4 to 2.7V. VDD = 2.7 to 2.90V and 3.10V to 3.6V. Gross tested to 1 A. Package and pin dependent. Temp = 25C. Package and pin dependent. Temp = 25C
VIL VIH1 VIH2 VH IIL CIN COUT
Input low voltage Input High voltage Input High voltage Input hysteresis voltage Input leakage Capacitive load on pins as input Capacitive load on pins as output
- 1.4 1.6 - - 0.5 0.5
- - - 60 1 1.7 1.7
0.75 - - - - 5 5
V V V mV nA pF pF
Notes 10. The maximum sink current is 40 mA for 20140 and 20142 devices and for all other devices the maximum sink current is 60 mA 11. The maximum sink current per port is 20 mA for 20140 and 20142 devices and for all other devices the maximum sink current is 30 mA.
Document Number: 001-54606 Rev. **
Page 22 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
2.7V DC Spec for I2C Line with 1.8V External Pull Up
This table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 2.4V to 2.9V and 3.10V to 3.60V, and -40CDC POR and LVD Specifications
Parameter VPPOR0 VPPOR1 VLVD0 VLVD2 VLVD6 Description VDD Value for PPOR Trip VDD= 2.7V VDD= 3.3V, 5V VDD Value for LVD Trip VDD= 2.7V VDD= 3.3V VDD= 5V Min - - 2.39 2.75 3.98 Typ 2.36 2.60 2.45 2.92 4.05 Max 2.40 2.65 2.51 2.99 4.12 Unit V V V V V Notes VDD must be greater than or equal to 2.5V during startup or internal reset.
DC Flash Write Specifications
This table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40CErase/write cycles
CapSense Electrical Characteristics
Max (V) 3.6 Typ (V) 3.3 Min (V) 3.1 Conditions for Supply Voltage <2.9 >2.9 or <3.10 2.90 2.7 2.45 <2.45V >3.10 <2.4V 5.25 5.0 4.75 <4.73V Result The device automatically reconfigures itself to work in 2.7V mode of operation. This range is not recommended for CapSense usage. The scanning for CapSense parameters shuts down until the voltage returns to over 2.45V. The device automatically reconfigures itself to work in 3.3V mode of operation. The device goes into reset. The scanning for CapSense parameters shuts down until the voltage returns to over 4.73V.
Note 12. Commands involving Flash Writes (0x01, 0x02, 0x03) must be executed only within the same VCC voltage range detected at POR (power on, or command 0x06) and above 2.7V.
Document Number: 001-54606 Rev. **
Page 23 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
AC Electrical Specifications
5V and 3.3V AC General Purpose I/O Specifications
Parameter TRise0 TRise1 TFall Description Rise time, strong mode, Cload = 50 pF, Port 0 Rise time, strong mode, Cload = 50 pF, Port 1 Fall time, strong mode, Cload = 50 pF, all ports Min 15 15 10 Max 80 50 50 Unit ns ns ns Notes VDD = 3.10V to 3.6V and 4.75V to 5.25V, 10% - 90% VDD = 3.10V to 3.6V, 10% - 90% VDD = 3.10V to 3.6V and 4.75V to 5.25V, 10% - 90%
2.7V AC General Purpose I/O Specifications
Parameter TRise0 TRise1 TFall Description Rise time, strong mode, Cload = 50 pF, Port 0 Rise time, strong mode, Cload = 50 pF, Port 1 Fall time, strong mode, Cload = 50 pF Min 15 15 10 Max 100 70 70 Unit ns ns ns Notes VDD = 2.4V to 2.90V, 10% - 90% VDD = 2.4V to 2.90V, 10% - 90% VDD = 2.4V to 2.90V, 10% - 90%
AC I2C Specifications
Parameter FSCLI2C Description SCL clock frequency Standard Fast Mode Mode Min 0 4.0 Max Min Max 100 - 0 0.6 400 - kbps s Fast mode not supported for VDD < 3.0V Units Notes
THDSTAI2C Hold time (repeated) START condition. After this period, the first clock pulse is generated TLOWI2C THIGH I2C LOW period of the SCL clock HIGH period of the SCL clock
4.7 4.0 0 250 4.0 4.7 -
- - - - - - - -
1.3 0.6 0.6 0 100 0.6 1.3 0
- - - - - - - 50
s s s s ns s s ns
TSUSTAI2C Setup time for a repeated START condition 4.7 THDDATI2C Data hold time TSUDATI2C TSUSTOI2C TBUFI2C TSPI2C Data setup time Setup time for STOP condition BUS free time between a STOP and START condition Pulse width of spikes suppressed by the input filter
Document Number: 001-54606 Rev. **
Page 24 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Figure 8. Definition of Timing for Fast/Standard Mode on the I2C Bus
Appendix- Examples of Frequently Used I2C Commands
Sl No. 1 2 3 4 5 6 Requirement Enter into setup mode Enter into normal mode Load factory defaults to RAM registers Do a software reset Save current configuration to Flash Load factory defaults to RAM registers and save as user configuration I2C commands[13] W 00 A0 08 W 00 A0 07 W 00 A0 02 W 00 A0 08 W 00 A0 06 W 00 A0 01 W 00 A0 08 W 00 A0 02 W 00 A0 01 W 00 A0 06 W 00 A0 08 W 00 06 01 W 00 A0 01 W 00 A0 06 W 00 81 01 W 00 82 R 00 RD. RD. RD. W 00 88 R 00 RD Enter into setup mode Load factory defaults to SRAM Save the configuration to flash. Wait for time specified in "CapSense Express Commands" on page 16. Do software reset Enter into setup mode Configuring CapSense buttons Save the configuration to flash. Wait for time specified in "CapSense Express Commands" on page 16. Do software reset Select CapSense button for reading scan result Set the read point to 82h Consecutive 6 reads get baseline, difference count and raw count (all two byte each) Set the read pointer to 88 Reading a byte gets status CapSense inputs Enter into setup mode Do software reset Comment
7
Enable GP00 as CapSense button
8
Read CapSense button(GP00) scan results
9
Read CapSense button status register
Note 13. The `W' indicates the write transfer and the next byte of data represents the 7-bit I2C address. The I2C address is assumed to be `0' in the above examples. Similarly `R' indicates the read transfer followed by 7-bit address and data byte read operations.
Document Number: 001-54606 Rev. **
Page 25 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Ordering Information
Ordering Code CY8C20110-LDX2I CY8C20110-SX2I CY8C20180-LDX2I CY8C20180-SX2I CY8C20160-LDX2I CY8C20160-SX2I CY8C20140-LDX2I CY8C20140-SX2I CY8C20142-SX1I Package Diagram 001-09116 51-85068 001-09116 51-85068 001-09116 51-85068 001-09116 51-85068 51-85066 Package Type 16 COL[14] 16 SOIC 16 COL[14] 16 SOIC 16 COL[14] 16 SOIC 16 COL[14] 16 SOIC 8 SOIC Operating Temperature Industrial Industrial Industrial Industrial Industrial Industrial Industrial Industrial Industrial CapSense Block Yes Yes Yes Yes Yes Yes Yes Yes Yes GPIOs 10 10 08 08 06 06 04 04 04 XRES Pin Yes Yes Yes Yes Yes Yes Yes Yes No
Note For die sales information, contact a local Cypress sales office or Field Applications Engineer (FAE).
Ordering Code Definition
Table 7. Thermal Impedances by Package Package 16 COL[1] 16 SOIC 8 SOIC Typical JA[15] 46 C/W 79.96 C/W 127.22 C/W
Table 8. Solder Reflow Peak Temperature Package 16 COL[1] 16 SOIC 8 SOIC Minimum Peak Temperature[16] 240 C 240 C 240 C Maximum Peak Temperature 260 C 260 C 260 C
Notes 14. Earlier termed as QFN package. 15. TJ = TA + Power x JA. 16. Higher temperatures may be required based on the solder melting point. Typical temperatures for solder are 220 5C with Sn-Pb or 245 5C with Sn-Ag-Cu paste. Refer to the solder manufacturer specifications.
Document Number: 001-54606 Rev. **
Page 26 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Package Diagrams
Figure 9. 16-Pin Chip On Lead 3 X 3 mm (Sawn) (001-09116)
Figure 10. 16-Pin (150-Mil) SOIC (51-85068)
Document Number: 001-54606 Rev. **
Page 27 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Figure 11. 8-Pin (150-Mil) SOIC (51-85066)
Document Number: 001-54606 Rev. **
Page 28 of 29
[+] Feedback
CY8C20110/CY8C20180/CY8C20160 CY8C20140/CY8C20142
Document History Page
Document Title: CY8C20110/CY8C20180/CY8C20160/CY8C20140/CY8C20142 CapSense(R) ExpressTM - Button Capacitive Controllers Document Number: 001-54606 Rev. ** ECN. 2741726 Orig. of Change SLAN/FSU Submission Date 07/21/2009 New Data sheet Description of Change
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer's representatives, and distributors. To find the office closest to you, visit us at cypress.com/sales.
Products
PSoC Clocks & Buffers Wireless Memories Image Sensors psoc.cypress.com clocks.cypress.com wireless.cypress.com memory.cypress.com image.cypress.com
(c) Cypress Semiconductor Corporation, 2009. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress' product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement.
Document Number: 001-54606 Rev. **
Revised July 12, 2009
Page 29 of 29
CapSense ExpressTM and PSoC DesignerTM are trademarks and PSoC(R) and CapSense(R) are registered trademarks of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations. Purchase of I2C components from Cypress or one of its sublicensed Associated Companies conveys a license under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. All products and company names mentioned in this document may be the trademarks of their respective holders.
[+] Feedback


▲Up To Search▲   

 
Price & Availability of CY8C20160-LDX2I

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X